/**
 * Project Name:bfs
 * File Name:configurationManagementDao.java
 * Package Name:com.zeei.dsas.dao
 * Date:2016年9月28日下午2:10:45
 * Copyright (c) 2016, ZEEI All Rights Reserved. *
 *
 * ClassName:configurationManagementDao
 * Function: TODO ADD FUNCTION.
 * @author   chq
 * @since    JDK 1.8
 */

package com.zeei.ems.base.dao;

import com.zeei.ems.base.vo.GeneralCategoryVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ConfigurationManagementDao extends Mapper {
	/**
	 *
	 * queryDictionaryMessage:(查询通用字典信息).
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	List<GeneralCategoryVO> queryDictionaryMessage(GeneralCategoryVO generalCategoryParam);

	/**
	 *
	 * updateDictionaryByGeneralCode:(更新通过通用字典码更改通用字典信息).
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	Integer updateDictionaryByGeneralCode(GeneralCategoryVO generalCategoryParam);

	/**
	 *
	 * updateDictionaryByGeneralCode:(新增通用字典信息).
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	Integer addDictionary(GeneralCategoryVO generalCategoryParam);

	/**
	 *
	 * updateDictionaryByGeneralCode:(删除通用字典信息).
	 *
	 * @param generalCode
	 * @return
	 */
	Integer dropDictionary(String generalCode);

	/**
	 *
	 * dictionaryEdit:(查询通用字典).
	 *
	 * @param map  字典类型
	 * @return
	 */
	List<GeneralCategoryVO> getCategoryList(Map<String,Object> map);

	/**
	 * 方法描述:添加字典类别
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	Integer addDictionaryType(GeneralCategoryVO generalCategoryParam);

	/**
	 * 方法描述:批量删除字典
	 *
	 * @param list
	 * @return
	 */
	Integer dropDictionaryList(List<String> list);

	/**
	 * 方法描述:通过条件查询字典信息
	 *
	 * @param condition
	 * @return
	 */
	List<GeneralCategoryVO> queryDictionaryMessageByCondition(Map<String, Object> condition);

	String getSystemTableByDataType(Map<?, ?> condition);

	List<String> getAccessUrl();

	/**
	 * getCategoryListById:TODO 请修改方法功能描述
	 *
	 * @param condition
	 * @return List<GeneralCategory>
	 */

	List<GeneralCategoryVO> getCategoryListById(Map<String, Object> condition);
	
	/**
	 *
	 * dictionaryEdit:(查询通用字典类别).
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	List<GeneralCategoryVO> getCategoryClass(GeneralCategoryVO generalCategoryParam);
	
	/**
	 *
	 * dictionaryEdit:(查询通用字典类别).
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	List<GeneralCategoryVO> getCategoryName(GeneralCategoryVO generalCategoryParam);
	
}
